﻿--[[
   @brief    tool_box desc
   @author   jasonlli
   @version  1.0
   @date     2015-03-16
--]]

security_center_desc = {
    module_name = 'security_center',
    events = {
    {
            c_event = 
            {
                {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_START,
                    callback = 'security_center_control.update_game_start_state'
                },
                {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_END,
                    callback = 'security_center_control.update_game_end_state'
                }
            },
            lua_event = 
            {
                {
                    id = tool_box_event.OPEN_SECURITY_CENTER,
                    callback = 'security_center_control.load_page_success'
                }
            },
            lua_file = 'tool_box\\security\\control.lua'
        }
    }
};

desc_mgr.add(security_center_desc);